// 自动生成模板CaseFact
package flaud

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// 查明案件事实管理 结构体  CaseFact
type CaseFact struct {
	global.GVA_MODEL
	DefendantName    *string  `json:"defendantName" form:"defendantName" gorm:"column:defendant_name;comment:;" binding:"required"` //被告人
	CrimePeriod      *string  `json:"crimePeriod" form:"crimePeriod" gorm:"column:crime_period;comment:;" binding:"required"`       //犯罪期
	CriminalActs     *string  `json:"criminalActs" form:"criminalActs" gorm:"column:criminal_acts;comment:;" binding:"required"`    //犯罪行为
	CardDetails      *string  `json:"cardDetails" form:"cardDetails" gorm:"column:card_details;comment:;"`                          //银行卡详情
	IllicitProfit    *float64 `json:"illicitProfit" form:"illicitProfit" gorm:"column:illicit_profit;comment:;" binding:"required"` //非法获利
	FraudAmount      *float64 `json:"fraudAmount" form:"fraudAmount" gorm:"column:fraud_amount;comment:;" binding:"required"`       //诈骗金额
	CardUsedForFraud *string  `json:"cardUsedForFraud" form:"cardUsedForFraud" gorm:"column:card_used_for_fraud;comment:;"`         //用于诈骗的银行卡
}

// TableName 查明案件事实管理 CaseFact自定义表名 InstitutionalCaseFact
func (CaseFact) TableName() string {
	return "InstitutionalCaseFact"
}
